package com.zyy.ui.policy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName: AcceptDTO
 * @Description: 承保DTO
 * @Author: zyy
 * @Date: 2020/05/03 14:16
 * @Version: 1.0
 */
@Data
@ApiModel("承保入参")
public class AcceptDTO implements Serializable {
    @ApiModelProperty(value = "保单号")
    @NotBlank(message = "policyNo不可为空")
    private String policyNo;
    @ApiModelProperty(value = "流水号")
    @NotBlank(message = "serialNo不可为空")
    private String serialNo;
}
